﻿using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;

namespace DDDDemoABP1.Payments;

public interface IAccountRepository
{
    Task<Account> FindAsync(Guid id);
    Task<Account> FindAsync(string accountNo);
    Task UpdateAsync(Account account);
    Task AddAsync(Account account);
    Task DeleteAsync(Guid id);
}
